package com.htfyun.ft.showinfo;


import androidx.annotation.NonNull;

public class ShowInfoBean {

    private final ShowInfoItemEnum itemEnum;
    private  String txt;
    private ShowInfoResultAttr result;

    public ShowInfoBean(ShowInfoItemEnum itemEnum) {
        this.itemEnum = itemEnum;
    }

    public ShowInfoItemEnum getTestItemsEnum() {
        return itemEnum;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    @NonNull
    public ShowInfoResultAttr getResult() {
        if (result == null) {
            result = ShowInfoResultAttr.MA;
        }
        return result;
    }

    public void setResult(ShowInfoResultAttr result) {
        this.result = result;
    }
}
